Skip to main content

FlowMail

Manages the email and notification functionalities within the workflow.

Properties

NameDescription
MessageOptionsGets or sets the message options.
NotificationOptionsGets or sets the push notification options.
KeyA unique identifier for the workflow step.
MailMessageGets the mail message associated with the message.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
NotificationCaptionGets the notification caption associated with the message.
NotificationMessageGets the notification message associated with the message.
IncludeFlowInitiatorDetermines whether to include the workflow initiator in the mail group.
IsCustomMailMessageGets or sets a value indicating whether the mail message is custom.
DepartmentBasedUserGroupsA list of department-based user groups included in the workflow mail group.
VariablePositionsA list of variable positions included in the workflow mail group.
MailSubjectGets the mail subject associated with the message.
IncludeDocumentApproversOrRefusersSpecifies whether to include document approvers or refusers in the workflow mail group.
EnableSendMailGets or sets a value indicating whether sending mail is enabled.
TypeCodeThe type code associated with the flow object.
MembersDefines the configuration for members in the workflow mail group.
AttachmentsGets the list of attachments associated with the message.
WebNotificationOptionsGets or sets the web notification options.
TableObjectsA list of table objects associated with the workflow mail group.
NameName for the workflow step.
DetailObjectsA list of detail objects associated with the workflow mail group.
UsersA list of resolved users in the workflow mail group.
UserGroupsA list of user groups included in the workflow mail group.
DocumentsA list of documents associated with the workflow mail group.
EnablePushNotificationGets or sets a value indicating whether push notification is enabled.
CustomMailMessageGets the custom mail message associated with the message.
ShowInFlowHistorySpecifies whether this mail step should appear in the workflow history.
CaptionThe caption dictionary representing localized captions for the flow object.
ConstantPositionsA list of constant positions included in the workflow mail group.

Constructors

NameDescription
FlowMail(name, workflowData, workflowCodeInstance)Constructor for the FlowMail class. Initializes a new instance of the FlowMail class.
FlowMail(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowMail class.
FlowMail(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowMail class.

Methods

NameDescription
AddConstantPosition(id, code, description)Adds a constant position to the workflow mail group with additional details.
AddConstantPosition(id)Adds a constant position to the workflow mail group using its ID.
AddConstantUser(id)Adds a constant user to the workflow mail group using their ID.
Initialize()Initializes the workflow mail step with necessary configurations.
AddAttachment(value,type)Adds an attachment to the mail message.
ClearMembers()Clears all members, positions, and related settings from the workflow mail group.
RemoveDocument(flowDocument)Removes a document from the workflow mail group.
RemovePosition(id)Removes a constant position from the workflow mail group using its ID.
SendPushNotification(userInfo,requestItem)Sends a push notification to a user.
SendInformationWebNotification(userInfo, requestItem)Sends a web notification to inform the user about a process request.
RemoveUser(id)Removes a user from the workflow mail group by their ID.
Send(userInfo, requestItem)Sends an email to the specified user based on the process request.
AddDocument(flowDocument, viewName, viewId, panelSize)Adds a document to the workflow mail group with specified view and display settings.
AddConstantUser(id, code, name)Adds a constant user to the workflow mail group with additional details.
SendWebNotification(payloadType,userInfo,requestItem)Sends a web notification to a user.

Events

NameDescription
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.

Generic Types

NameDescription
TPropertiesGeneric type of properties.